package com.jsoft.model;

import com.jsoft.model.core.BaseDao;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 * Date: 15.08.13
 * Time: 14:44
 */

@Entity
@Table(name = "clients")
public class ClientDao extends BaseDao {
    @OneToOne
    @JoinColumn(name = "person_id")
    private PersonDao person;

    public PersonDao getPerson() {
        return person;
    }

    public void setPerson(PersonDao person) {
        this.person = person;
    }
}
